/* File cmatrixprod.h */
/* Authors - J.Michaux
             K.Dorfer */

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
#include <pthread.h>
#include <string.h>
#include "f2c.h"

#define NUM_SPE 6
#define BLOC_SIZE 1
#define READY 77
#define GO 88

typedef struct {
  unsigned int        size_M; // 4
  unsigned int        size_N; // 8
  unsigned int        size_P; // 12
  unsigned long long  in_matrix_A; // 20
  unsigned long long  in_matrix_B; // 28
  unsigned long long  out_matrix_C; // 36
  unsigned int        spe_num;
  //il faut garder le CB multiple de 16
  int pad[4]; // 36 + 7*4 = 36 + 28 = 64
} abs_params_t;


int cmatrixprod(int M, int N, int P,t_complex *A, 
		t_complex *B,t_complex *C);
